@extends('layouts.app')

@section('content')
<div class="container">
  <div class="col-md-10 offset-md-1">
    <div class="card ">
      <div class="card-header">
        <h1>
          Tag
        </h1>
      </div>

      <div class="card-body">
        @if($tags->count())
          <table class="table table-sm table-striped">
            <thead>
              <tr>
                <th class="text-xs-center">#</th>
                <th>Name</th> <th>Outhername</th> <th>Seotitle</th> <th>Url</th>
                <th class="text-xs-right">OPTIONS</th>
              </tr>
            </thead>

            <tbody>
              @foreach($tags as $tag)
              <tr>
                <td class="text-xs-center"><strong>{{$tag->id}}</strong></td>

                <td>{{$tag->name}}</td> <td>{{$tag->outhername}}</td> <td>{{$tag->seotitle}}</td> <td>{{$tag->url}}</td>

                <td class="text-xs-right">


                </td>
              </tr>
              @endforeach
            </tbody>
          </table>
          {!! $tags->render() !!}
        @else
          <h3 class="text-xs-center alert alert-info">Empty!</h3>
        @endif
      </div>
    </div>
  </div>
</div>

@endsection
